﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="MenuHorizontal.ascx.cs" Inherits="UserControls_MenuHorizontal" %>
<asp:DataList ID="list" runat="server" RepeatColumns="4" Width="559px"  CssClass="MenuHorizontalList" >
    <ItemStyle CssClass="MenuHorizontalListItem" />
    <ItemTemplate>
         <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# Link.BuildAbsolute(Eval("url").ToString())%>'
            Text='<%# HttpUtility.HtmlEncode(Eval("nome").ToString()) %>' CssClass='<%# Eval("menuID").ToString() == Request.QueryString["menuID"] ? "MenuHorizontalListSelected" : "MenuHorizontalListUnselected" %>'>
        </asp:HyperLink>
  </ItemTemplate>
</asp:DataList>

